package com.example.demo.service;

import com.example.demo.bean.Profession;
import com.example.demo.bean.Regional;
import com.example.demo.common.ServerResponse;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author ouyangzhixiang
 * @date 2018/6/23
 */
public interface ProfessionService {
    ServerResponse<List<Profession>> list(Integer parentId);
    ServerResponse findOne(Integer id);
    ServerResponse<Profession> addProfession(Profession profession);
    void deleteProfession(Integer id);
    ServerResponse<Profession> professionUpdate(Profession profession);
}
